<%-- 
    Document   : accessoPrenot
    Created on : 2-ago-2012, 16.36.37
    Author     : Rosario
    Pagina che gestisce gli accessi alle prenotazioni delle utenze.
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>HomeTeatre - Accedi -</title>
<style type="text/css">
<!--
.Stile1 {color: #FFFFFF}
.Stile2 {
	font-family: "Comic Sans MS", "Monotype Corsiva";
	font-size: 24px;
}
-->
</style>
</head>

<body>
    
<table width="804" height="96" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th width="100" scope="col"><img src="immagini/posta052.gif" width="64" height="77" /></th>
    <th width="700" scope="col"><a href="index.jsp"><img src="immagini/httitolo.jpg" width="700" height="100" /></a></th>
    
  </tr>
</table>

<table width="804" border="0" cellpadding="0" cellspacing="0" bgcolor="#0066CC">
  <tr>
    <th width="103" height="400" rowspan="6" valign="top" scope="col"><img src="immagini/elenco.jpg" width="100" height="400" /></th>
    <%if (((session.getAttribute("login")!=null)&&(session.getAttribute("password")!=null))&&((session.getAttribute("login")!="")&&(session.getAttribute("password")!="")))
      { %> 
       
        <th width="599" rowspan="6" align="center" valign="top" scope="col">
            <form id="form1" name="form1" method="post" action="Controller">
         <br/> <br/><br/> <br/> <br/><br/>
         <font color=yellow size=+2> Visualizza le tue prenotazioni</font><br/><br/> <br/> <br/><br/>
         
          <input type="hidden" name="provenienza" value="visPren" />
        <input type="hidden" name="operaz" value="altro" />
        <input type="submit" name="conferma" value="Prosegui" /> 
        
    </form>
            <br/><br/>
            <form id="form1" name="form1" method="post" action="Controller">
          <input type="hidden" value="logOut" name="provenienza" />
          <input type="submit" value="log out" name="logOut" />
          
          </form>
 
        
<% } else {%> 
    <th width="599" rowspan="6" align="center" valign="top" scope="col"><form id="form1" name="form1" method="post" action="Controller">
      <label><br />
      <span class="Stile1"><br />
      <br />
      <br />
      <span class="Stile2">... Inserire login e password ...</span><br />
      <br />

      <br />
      Email (login) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="text" name="login" />
      <br />
        <br />
      </span></label>
      <span class="Stile1">
      <label> Password  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   
      <input type="password" name="password" />
      <br />
      <br />
      <input type="hidden" name="azione" value="accedi" />
      <br />
      <br />
      </label>
      <label></label>
      </span>
      <p>
        <span class="Stile1">
        <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
        </span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="hidden" name="provenienza" value="visPren" />
        <input type="hidden" name="operaz" value="accedi" />
        <input type="submit" name="conferma" value="Accedi" />
        
      </p>
      <p>&nbsp;</p><%}%></form> 

       </th>
       <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
  <tr>
      <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
  
  <tr>
        <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
  <tr>
      <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
 
  
</table>
</body>
</html>
